<p>json 字符串转 golang struct</p>

<textarea nz-input [(ngModel)]="jsonstr" placeholder="json strings" [nzAutosize]="{ minRows: 10, maxRows: 20 }">
</textarea>

<p style="margin: 10px 0;">
    <button nz-button nzType="primary" (click)="translate()">转化</button>
</p>
<textarea nz-input [(ngModel)]="structstr" readonly="readonly" [nzBorderless]="true" [nzAutosize]=" { minRows: 1 }">
</textarea>